package com.xjj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xjj.excel.ExcelImport;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Auther: AYang
 * @Date: 2022/10/19 18:45
 * @Description: 学校实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("xjj_school")
public class School {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("name")
    @ExcelImport("学校名称")
    private String name;
}
